package com.im.netty.message;

import com.im.netty.protocol.Command;
import com.im.netty.protocol.Packet;

/**
 * 
 * @author yutao
 */
public class GroupMessageRequestPacket extends Packet {

	private String toGroupId;

	private String message;
	
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getToGroupId() {
		return toGroupId;
	}

	public void setToGroupId(String toGroupId) {
		this.toGroupId = toGroupId;
	}

	/**
	 * 
	 * @see com.im.netty.protocol.Packet#getCommand()
	 */
	@Override
	public Byte getCommand() {
		return Command.GROUP_MESSAGE_REQUEST;
	}

}
